const { Op } = require("sequelize");
app.get("/getids", async (req, res) => {
    try {
        let repeatids = await sequelize.query(`select distinct coordinate_id from t_annual_plan_library where coordinate_id is not null and coordinate_id<>''`);        
        res.send(repeatids[0].map(r => r['coordinate_id']) .join(','));
      } catch (err) {
        console.log(err);
        res.send("err");
      }
})
